package com.luohoufa.ms.product.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

@ApiModel(value = "商品实体，包括商品类别信息")
@Data
public class ProductVo {

    @ApiModelProperty(value = "商品类别名")
    @JsonProperty("name")
    private String categoryName;
    @ApiModelProperty(value = "商品类别id")
    @JsonProperty("type")
    private Integer categoryType;
    @ApiModelProperty(value = "该商品类别下的商品列表")
    @JsonProperty("foods")
    List<ProductInfoVo> productInfoVoList;

}
